home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Resources / Browsers, Managers & Extensions / Firefox Backup Extension 6.0.3 / chrome / febe.jar / content / febeOverlay.xul < prev    next >
Extensible Markup Language  |  2008-08-18  |  13KB  |  279 lines

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://febe/skin/febe.css" type="text/css"?>
  3.  
  4. <!DOCTYPE overlay SYSTEM "chrome://febe/locale/febe.dtd">
  5.  
  6. <overlay id="febeOverlay"
  7.                  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  8.                  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  9.  
  10.     <stringbundleset id="stringbundleset"> 
  11.         <stringbundle id="febe-strings" src="chrome://febe/locale/febe.properties"/>
  12.     </stringbundleset>
  13.     
  14.     <script type="application/x-javascript" src="chrome://febe/content/febeCommon.js"/>
  15.     <script type="application/x-javascript"    src="chrome://febe/content/febe.js"/>
  16.     <script type="application/x-javascript" src="chrome://febe/content/febeOptions.js"/>
  17.     <script type="application/x-javascript" src="chrome://febe/content/febeScheduleBackup.js"/>
  18.     <script type="application/x-javascript"    src="chrome://febe/content/febeUDBu.js"/>
  19.     <script type="application/x-javascript" src="chrome://global/content/nsDragAndDrop.js"/>
  20.     <script type="application/x-javascript" src="chrome://global/content/nsTransferable.js"/>
  21.     <script type="application/x-javascript" src="chrome://browser/content/places/utils.js"/>
  22.     <script type="application/x-javascript" src="chrome://febe/content/febeDrag.js"/>
  23.     <script type="application/x-javascript" src="chrome://febe/content/febeZip.js"/>
  24.     <script type="application/x-javascript"    src="chrome://febe/content/boxnet.js"/>
  25.  
  26.     <script type="application/x-javascript">
  27.         <![CDATA[
  28.         window.addEventListener("load",febeSetMsgs,false);
  29.         ]]>
  30.     </script>    
  31.  
  32.     <toolbarpalette id="BrowserToolbarPalette">
  33.         <toolbarbutton id="febeTLBRbutton" 
  34.                                      type="menu-button"
  35.                                      class="toolbarbutton-1 chromeclass-toolbar-additional"
  36.                                      label="FEBE"
  37.                                      tooltiptext="&febe.caption.bu;"
  38.                                      hidden = "false"
  39.                                      visible = "true"
  40.                                      status="normal"
  41.                                      oncommand="if(!febeInit()){window.openDialog('chrome://febe/content/settings/febeOptions.xul','','','DestDirID')}">
  42.  
  43.             <menupopup id="febe_tlbr_menupopup"
  44.                                  oncommand="event.stopPropagation();">
  45.                 <menuitem id="febe_tlbr_doBackup"
  46.                                     label="&febe.caption.bu;"
  47.                                     tooltiptext="&febe.caption.bu;"
  48.                                     accesskey="&febe.accesskey.bu;"
  49.                                     oncommand="if(!febeInit()){window.openDialog('chrome://febe/content/settings/febeOptions.xul','','','DestDirID')}"/>
  50.                     <menu id="febe_tlbr_restorePopups"
  51.                                 label="&febe.caption.restore;"
  52.                                 tooltiptext="&febe.caption.restore;"
  53.                                 accesskey="&febe.accesskey.restore;" >
  54.                         <menupopup id="febe_tlbr_restore_popup">
  55.                             <menuitem id="febe_tlbr_restoreExtensions"
  56.                                                 label="&febe.caption.restore.ext;"
  57.                                                 tooltiptext="&febe.caption.restore.ext;"
  58.                                                 accesskey="&febe.accesskey.re;" 
  59.                                                 oncommand="febeRestoreExtensions();"/>
  60.                             <menuitem id="febe_tlbr_restoreThemes"
  61.                                                 label="&febe.caption.restore.theme;"
  62.                                                 tooltiptext="&febe.caption.restore.theme;"
  63.                                                 accesskey="&febe.accesskey.rt;"
  64.                                                 oncommand="febeRestoreThemes();"/>
  65.                             <menuitem id="febe_tlbr_restoreBookmarks" 
  66.                                                 label="&febe.caption.restore.bookmarks;"
  67.                                                 tooltiptext="&febe.caption.restore.bookmarks;"
  68.                                                 accesskey="&febe.accesskey.bm;"
  69.                                                 disabled="false"
  70.                                                 oncommand="febeRestoreBookmarks();"/>
  71.                             <menuitem id="febe_tlbr_restorePreferences" 
  72.                                                 label="&febe.caption.restore.preferences;"
  73.                                                 tooltiptext="&febe.caption.restore.preferences;"
  74.                                                 accesskey="&febe.accesskey.pr;"
  75.                                                 disabled="false"
  76.                                                 oncommand="febeRestorePreferences();"/>
  77.                             <menuitem id="febe_tlbr_restoreCookies"
  78.                                                 label="&febe.caption.restore.cookies;"
  79.                                                 tooltiptext="&febe.caption.restore.cookies;"
  80.                                                 accesskey="&febe.accesskey.ck;"
  81.                                                 disabled="false"
  82.                                                 oncommand="febeRestoreCookies();"/>
  83.                             <menuitem id="febe_tlbr_restoreUserChrome" 
  84.                                                 label="&febe.caption.restore.uchrome;"
  85.                                                 tooltiptext="&febe.caption.restore.uchrome;"
  86.                                                 accesskey="&febe.accesskey.uchrome;"
  87.                                                 disabled="false"
  88.                                                 oncommand="febeRestoreUserChrome();"/>
  89.                             <menuitem id="febe_tlbr_restorePasswords" 
  90.                                                 label="&febe.caption.restore.pwd;"
  91.                                                 tooltiptext="&febe.caption.restore.pwd;"
  92.                                                 accesskey="&febe.accesskey.pwd;"
  93.                                                 disabled="false"
  94.                                                 oncommand="febeRestorePasswords();"/>
  95.                             <menuitem id="febe_tlbr_restoreSearchPlugins" 
  96.                                                 label="&febe.caption.restore.plugins;"
  97.                                                 tooltiptext="&febe.caption.restore.plugins;"
  98.                                                 accesskey="&febe.accesskey.plugins;"
  99.                                                 disabled="false"
  100.                                                 oncommand="febeRestoreSearchPlugins();"/>
  101.                             <menuitem id="febe_tlbr_restoreHistory"
  102.                                                 label="&febe.caption.restore.history;"
  103.                                                 tooltiptext="&febe.caption.restore.history;"
  104.                                                 accesskey="&febe.accesskey.bh;"
  105.                                                 disabled="false"
  106.                                                 oncommand="febeRestoreBrowserHistory();"/>
  107.                             <menuitem id="febe_tlbr_restoreFFhistory"
  108.                                                 label="&febe.caption.restore.ffhistory;"
  109.                                                 tooltiptext="&febe.caption.restore.ffhistory;"
  110.                                                 accesskey="&febe.accesskey.ff;"
  111.                                                 disabled="false"
  112.                                                 oncommand="febeRestoreFormFillHistory();"/>
  113.                             <menuitem id="febe_tlbr_restorePermissions"
  114.                                                 label="&febe.caption.restore.permissions;"
  115.                                                 tooltiptext="&febe.caption.restore.permissions;"
  116.                                                 accesskey="&febe.accesskey.pm;"
  117.                                                 disabled="false"
  118.                                                 oncommand="febeRestorePermissions();"/>
  119.                                 <menu id="febe_tlbr_restoreUDBUpopup"
  120.                                             label="&febe.caption.restore.UDBU;"
  121.                                             tooltiptext="&febe.caption.restore.UDBU;"
  122.                                             disabled="false"
  123.                                             accesskey="&febe.accesskey.udbu;">
  124.                                     <menupopup id="febe_tlbr_restoreUDB_popup"
  125.                                                          onpopupshowing = "febe_fillUDBUmenu('febe_tlbr_restoreUDB_popup');"/>
  126.                                 </menu>
  127.                             <menuitem id="febe_tlbr_restoreProfile"
  128.                                                 label="&febe.caption.restore.profile;"
  129.                                                 tooltiptext="&febe.caption.restore.profile;"
  130.                                                 disabled="false"
  131.                                                 accesskey="&febe.accesskey.up;"
  132.                                                 oncommand="febeRestoreProfile();"/>
  133.                         </menupopup>
  134.                     </menu>
  135.                 <menuitem id="febe_tlbr_quickBackup"
  136.                                     label="&febe.caption.quick;"
  137.                                     tooltiptext="&febe.caption.quick;"
  138.                                     accesskey="&febe.accesskey.quick;"
  139.                                     oncommand="window.openDialog('chrome://febe/content/febeQuickBu.xul','','centerscreen','')"/>
  140.                     <menuseparator id="febe_tlbr_seperator"/>
  141.                 <menuitem id="febe_tlbr_options"
  142.                                     label="&febe.menuoptions.label;"
  143.                                     tooltiptext="&febe.menuoptions.label;"
  144.                                     accesskey="&febe.accesskey.opt;"
  145.                                     oncommand="febeOptions();"/>
  146.             </menupopup>
  147.         </toolbarbutton>
  148.     </toolbarpalette>
  149.  
  150.     <popup id="menu_ToolsPopup">
  151.         <menu id="febe_tools_menu_FEBE"
  152.                     label="FEBE"
  153.                     tooltiptext="FEBE"
  154.                     accesskey="&febe.accesskey.tools;"
  155.                     insertbefore="devToolsSeparator">
  156.             <menupopup id="febe_tools_menu_menupopup">
  157.                 <menuitem id="febe_tools_menu_doBackup"
  158.                                     label="&febe.caption.bu;"
  159.                                     tooltiptext="&febe.caption.bu;"
  160.                                     accesskey="&febe.accesskey.bu;"
  161.                                     oncommand="if(!febeInit()){window.openDialog('chrome://febe/content/settings/febeOptions.xul','','','DestDirID')}"/>
  162.                     <menu id="febe_tools_menu_restorePopups"
  163.                                 label="&febe.caption.restore;"
  164.                                 tooltiptext="&febe.caption.restore;"
  165.                                 accesskey="&febe.accesskey.restore;">
  166.                         <menupopup id="febe_tools_menu_restore_menuopup">
  167.                             <menuitem id="febe_tools_menu_restoreExtensions"
  168.                                                 label="&febe.caption.restore.ext;"
  169.                                                 tooltiptext="&febe.caption.restore.ext;"
  170.                                                 accesskey="&febe.accesskey.re;" 
  171.                                                 oncommand="febeRestoreExtensions();"/>
  172.                             <menuitem id="febe_tools_menu_restoreThemes"
  173.                                                 label="&febe.caption.restore.theme;"
  174.                                                 tooltiptext="&febe.caption.restore.theme;"
  175.                                                 accesskey="&febe.accesskey.rt;"
  176.                                                 oncommand="febeRestoreThemes();"/>
  177.                             <menuitem id="febe_tools_menu_restoreBookmarks"
  178.                                                 label="&febe.caption.restore.bookmarks;"
  179.                                                 tooltiptext="&febe.caption.restore.bookmarks;"
  180.                                                 accesskey="&febe.accesskey.bm;"
  181.                                                 disabled="false"
  182.                                                 oncommand="febeRestoreBookmarks();"/>
  183.                             <menuitem id="febe_tools_menu_restorePreferences"
  184.                                                 label="&febe.caption.restore.preferences;"
  185.                                                 tooltiptext="&febe.caption.restore.preferences;"
  186.                                                 accesskey="&febe.accesskey.pr;"
  187.                                                 disabled="false"
  188.                                                 oncommand="febeRestorePreferences();"/>
  189.                             <menuitem id="febe_tools_menu_restoreCookies"
  190.                                                 label="&febe.caption.restore.cookies;"
  191.                                                 tooltiptext="&febe.caption.restore.cookies;"
  192.                                                 accesskey="&febe.accesskey.ck;"
  193.                                                 disabled="false"
  194.                                                 oncommand="febeRestoreCookies();"/>
  195.                             <menuitem id="febe_tools_menu_restoreUserChrome"
  196.                                                 label="&febe.caption.restore.uchrome;"
  197.                                                 tooltiptext="&febe.caption.restore.uchrome;"
  198.                                                 accesskey="&febe.accesskey.uchrome;"
  199.                                                 disabled="false"
  200.                                                 oncommand="febeRestoreUserChrome();"/>
  201.                             <menuitem id="febe_tools_menu_restorePasswords"
  202.                                                 label="&febe.caption.restore.pwd;"
  203.                                                 tooltiptext="&febe.caption.restore.pwd;"
  204.                                                 accesskey="&febe.accesskey.pwd;"
  205.                                                 disabled="false"
  206.                                                 oncommand="febeRestorePasswords();"/>
  207.                             <menuitem id="febe_tools_menu_restorePhishingData"
  208.                                                 label="&febe.caption.restore.phishingdata;"
  209.                                                 tooltiptext="&febe.caption.restore.phishingdata;"
  210.                                                 accesskey="&febe.accesskey.pd;"
  211.                                                 disabled="false"
  212.                                                 oncommand="febeRestorePhishingData();"/>
  213.                             <menuitem id="febe_tools_menu_restoreSearchPlugins"
  214.                                                 label="&febe.caption.restore.plugins;" 
  215.                                                 tooltiptext="&febe.caption.restore.plugins;"
  216.                                                 accesskey="&febe.accesskey.plugins;"
  217.                                                 disabled="false"
  218.                                                 oncommand="febeRestoreSearchPlugins();"/>
  219.                             <menuitem id="febe_tools_menu_restoreHistory"
  220.                                                 label="&febe.caption.restore.history;"
  221.                                                 tooltiptext="&febe.caption.restore.history;"
  222.                                                 accesskey="&febe.accesskey.bh;"
  223.                                                 disabled="false"
  224.                                                 oncommand="febeRestoreBrowserHistory();"/>
  225.                             <menuitem id="febe_tools_menu_restoreFFhistory"
  226.                                                 label="&febe.caption.restore.ffhistory;"
  227.                                                 tooltiptext="&febe.caption.restore.ffhistory;"
  228.                                                 accesskey="&febe.accesskey.ff;"
  229.                                                 disabled="false"
  230.                                                 oncommand="febeRestoreFormFillHistory();"/>
  231.                             <menuitem id="febe_tools_menu_restorePermissions"
  232.                                                 label="&febe.caption.restore.permissions;"
  233.                                                 tooltiptext="&febe.caption.restore.permissions;"
  234.                                                 accesskey="&febe.accesskey.pm;"
  235.                                                 disabled="false"
  236.                                                 oncommand="febeRestorePermissions();"/>
  237.                                 <menu id="febe_tlbr_restoreUDBUpopup"
  238.                                             label="&febe.caption.restore.UDBU;"
  239.                                             tooltiptext="&febe.caption.restore.UDBU;"
  240.                                             disabled="false"
  241.                                             accesskey="&febe.accesskey.udbu;" >
  242.                                     <menupopup id="febe_menu_restoreUDB_popup"
  243.                                                          onpopupshowing = "febe_fillUDBUmenu('febe_menu_restoreUDB_popup');"/>
  244.                                 </menu>
  245.                             <menuitem id="febe_tools_menu_restoreProfile"
  246.                                                 label="&febe.caption.restore.profile;"
  247.                                                 tooltiptext="&febe.caption.restore.profile;"
  248.                                                 accesskey="&febe.accesskey.up;"
  249.                                                 oncommand="febeRestoreProfile();"/>
  250.                         </menupopup>
  251.                     </menu>
  252.                     <menuitem id="febe_tools_menu_quickBackup"
  253.                         label="&febe.caption.quick;"
  254.                         tooltiptext="&febe.caption.quick;"
  255.                         accesskey="&febe.accesskey.quick;"
  256.                         oncommand="window.openDialog('chrome://febe/content/febeQuickBu.xul','','centerscreen','')"/>
  257.                     <menuseparator id="febe_tools_menu_seperator"/>
  258.                     <menuitem id="febe_tools_menu_options"
  259.                                         label="&febe.menuoptions.label;"
  260.                                         tooltiptext="&febe.menuoptions.label;"
  261.                                         accesskey="&febe.accesskey.opt;"
  262.                                         oncommand="febeOptions();"/>
  263.                 </menupopup>
  264.             </menu>
  265.         </popup>
  266.  
  267.     <!-- Create statusbar icon -->
  268.     <statusbar id="status-bar">
  269.         <statusbarpanel id="febestatusbar"
  270.                                         status="normal"
  271.                                         class="statusbarpanel-iconic"
  272.                                         insertbefore="statusbar-display"
  273.                                         ondraggesture="nsDragAndDrop.startDrag(event,febeStatObserver);"
  274.                                         onclick="febeAbortBackup();">
  275.             <image id="febestatusicon"/>
  276.         </statusbarpanel>
  277.     </statusbar>
  278. </overlay>
  279.